package strategy.strategyTwo;

public class Text {

    public static void main(String[] args){
        double puy = 5000;
        MemberStrategy member = new JuniorMember();
        puy = member.calcPrice(puy);
        member = new activity();
        puy = member.calcPrice(puy);
        System.out.println("需支付金额：\t" + puy);
    }
}
